function selectBox(){
  var checkboxis = document.getElementsByName("id");
  for (var i=0; i<checkboxis.length; i++){
    //alert(checkboxis[i].checked);          
    if(document.all.beneficiary.checkid.checked == true){
      checkboxis[i].checked = true;
    }else{
      checkboxis[i].checked = false;
    }     
  }
}
function search(){
    document.all.beneficiary.action = 'beneficiary.do?method=initFind';
    document.all.beneficiary.submit();
}
function batchDel(){
  document.all.beneficiary.action = 'beneficiary.do?method=batchDel';
  document.all.beneficiary.submit();
}